home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
demo
/
sound
/
Convergence_D1.lha
/
Install_HD
< prev
next >
Wrap
Text File
|
1997-03-20
|
10KB
|
300 lines
; **************************************
; * *
; * Install Converegence To HD *
; * *
; * $VER: Install-Convergence (24.1.97)*
; * *
; * Written by Andy Gibson (SKiDZ/A51) *
; * *
; * Copyright © 1997 AGAS Productions *
; * All Rights Reserved *
; * *
; * Permission to AREA51 Granted - Use *
; * it freely with any produxionz :^) *
; * *
; **************************************
;
; * For AppName etc., Check out the Icons Tooltypes by clicking on the
; * HD Install Icon once and selecting Information from the Icons Menu
; * via WB.
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; ********************************
; * Set up some global variables *
; ********************************
;
(set app_name "Convergence") ;Applictaion name
(set disk1name "MoDZ_1") ;Actual name of Disk 1
(set disk2name "MoDZ_2") ;Actual name of Disk 2
(set copycrmlib "Copying CrM.library") ;Text to display .....
(set copyptrlib "Copying ptreplay.library") ;
(set copydflib "Copying Diskfont.libary") ;
(set copymathlib "Copying Mathtrans.libary") ;
(set copymods "Copying Modz") ;
(set copyexe "Copying Main Files") ;
(set copyfonts "Copying Font Files") ;
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Set up the installation message first ...
(set install-msg
(cat ;use "cat" or "message" but "message" won't show "HELP" button!!!
"\n"
"AREA 51 PReSeNTS\n\n\n"
app_name " Vol.#1\n\n"
"Hard Disk Installer By SKiDZ/A51\n\n\n"
"Follow the on-screen text and press HELP if\n"
"you don't understand a function :^)"
))
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Show the above Installation Message right here ... and HELP ...
(message install-msg
(Help
"\n\n"
" "app_name " Vol.1 Installer Help"
"\n\n"
" This routine uses the official Commodore Installer \n"
"\n"
" You will be asked in which Dir/Partition you would \n"
" like the files to be installed into. Simply follow \n"
" the on-screen text. All required files will be \n"
" copied to your chosen destination. A drawer/dir \n"
" named AREA51 will be made by this installer."
))
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
(complete 0) ; *** Simply update percentage atop screen.
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Check for disk 1. If not in drive, ask and wait for it.
(askdisk
(prompt "\n\n\n\n\n" ; *** A few blank lines!!!
"Please insert the disk labeled `"
Disk1Name "'"
"\n"
"into any drive of your choice.")
(help "\n" @askdisk-help)
(dest Disk1Name)
)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Copy the required Libs to LIBS: path ...
; *** If the library is already in LIBS: This installer will check which
; *** version is there and won't copy the libs from floppy if older. :)
;
(working "\nChecking for required Libraries ...\n\n"
"If old versions are found, I can\n"
"copy new ones across for you :-)"
)
(copylib (prompt copyptrlib)
(help @copylib-help)
(source "MoDZ_1:libs/ptreplay.library")
(dest "LIBS:")
(optional nofail force askuser)
(confirm)
)
(complete 5)
(copylib (prompt copymathlib)
(help @copylib-help)
(source "MoDZ_1:libs/Mathtrans.library")
(dest "LIBS:")
(optional nofail force askuser)
(confirm)
)
(complete 10)
(copylib (prompt copydflib)
(help @copylib-help)
(source "MoDZ_1:libs/diskfont.library")
(dest "LIBS:")
(optional nofail force askuser)
(confirm)
)
(complete 15)
;
; *** We unpack our crunched files with CrM.Library. I've included
; *** my own `Registerd' lib, so I want it to be copied over to peeps
; *** HD even if they have the CrM.library ;^) Chances are that they
; *** they might have the demo version's, so mine MUST be copied! :-)
; *** It's faster than the demo version anyway, so it's a must.
(copyfiles
(prompt copycrmlib " To Libs:")
(help @copyfiles-help)
(source "MoDZ_1:libs/CrM.library")
(dest "LIBS:")
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 20)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Copy the required fonts to FONTS: path ...
; *** Always copied even if they are in FONTS: - No problems :^)
;
(copyfiles
(prompt copyfonts " To FONTS:")
(help @copyfiles-help)
(source "MoDZ_1:Fonts")
(dest "FONTS:")
(all)
(fonts)
(infos)
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 30)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
; ;
; *** Ask user where they want to install the files to ...
;
(set a51_dest
(askdir
(prompt "Please choose where you want to install files too.\n"
"(A drawer named `AREA51' will be made for you)")
(help "\n"
" Please choose a path where you want to install the\n"
" files to on your hard drive.\n\n"
" eg. `Work:Demos'\n\n"
" A drawer named AREA51 will be made automatically\n"
" for you. So there is no need to do that yourself.\n\n"
" eg. You choose `Work:Demos' to install it to.\n"
" The files would then be installed to:\n"
" `Work:Demos/AREA51'")
(default @default-dest) ; *** used for requestor. Default is Work:
))
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
(set @default-dest a51_dest) ; *** Hold users destination here
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Make Directory named AREA51 in users defined path + icon ...
;
(working "Creating the `AREA51' Directory now in "
a51_dest) ; See above for path setting...
(makedir
(tackon a51_dest "AREA51") ; *** Add AREA51 Dir to users path.
(infos) ; *** Add an icon to it also :-)
)
(complete 35)
;
(working "Creating the `MoDZ' Directory now in `AREA51'")
(makedir
(tackon a51_dest "AREA51/MoDZ")
)
(complete 40)
;
; *** Update path to AREA51 Directory now in user's path ...
(set a51_dest (tackon a51_dest "AREA51"))
(set @default-dest a51_dest) ; Hold path of AREA51 Dir
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Simply copy the required files to AREA51 Directory ...
;
; *** The actual Intro Exe File ...
(copyfiles
(prompt copygame " To " a51_dest)
(help @copyfiles-help)
(source "MoDZ_1:Convergence.exe")
(dest a51_Dest)
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 50)
;
; *** Since the pack requires Assignments, we simply copy a script and
; *** an Icon. Uses IconX as default tool. This will run the pack with
; *** all assignments required from HD)
(copyfiles
(prompt copygame " To " a51_dest)
(help @copyfiles-help)
(source "MoDZ_1:HD_Only/MoDZ_HD")
(dest a51_Dest)
(infos) ; New Icon to run script to add assigns and run the game.
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 60)
;
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** We need to alter path to MoDZ Directory held in AREA51 Directory.
; *** sub Directory named MoDZ was set up earlier - see above.
;
(set a51_dest2 (tackon a51_dest "MoDZ"))
(set @default-dest a51_dest2) ; Hold as destination 2
;
(copyfiles
(prompt copydata " To " a51_dest2)
(help @copyfiles-help)
(source "ModZ_1:MoDZ")
(dest a51_Dest2)
(all)
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 70)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Check for disk 2. If not in drive, ask and wait for it.
(askdisk
(prompt "\n\n\n\n\n" ; *** A few blank lines!!!
"Please insert the disk labeled `"
Disk2Name "'"
"\n"
"into any drive of your choice.")
(help "\n" @askdisk-help)
(dest Disk2Name)
)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; *** Copy files from MoDZ Dir of disk 2 (MoDZ_2) to HD ...
(copyfiles
(prompt copydata " To " a51_dest2)
(help @copyfiles-help)
(source "ModZ_2:ModZ")
(dest a51_Dest2)
(all)
(Optional "force") ; ** Overwrite even if Protected :^)
)
(complete 90)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
; *** Final message displayed now ...
;
(set @default-dest a51_dest) ; *** Hold users destination here
;
(complete 100)
;
(exit "Please remove any disks before\n"
"loading from hard disk.\n\n"
"(^; ENJOY DIZ ReLeASe :^)\n\n"
"AREA 51 Keeping The Amiga ALIVE"
)
;
; -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
;
; If you use this script for your own production(s), please give me a
; credit somewhere above. That's all I ask for my hard work involved.
; Andy Gibson of AGAS Productions 1997 (aka SKiDZ/A51)
;
; Message to Slade....Modify this for future HD Installers for da mag
; if ya wish m8. Just gimme a little credit (SKiDZ/A51) Cheerz :^)
;
; Message to anyone else.....
;
; Please help keep the Amiga alive by not spreading Copyrighted Software!
; If you have a pirated title in yer collection, scrap it NOW!!! Purchase
; the original via mail order today. It's cheap and you'll keep our great
; machine alive for another few years - maybe 8^P SKiDZ/A51
;
;